projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388d6ab
)
(sc-toggle-var): Don't use set-variable or eval-expression.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 25 Nov 2001 00:02:05 +0000
(
00:02
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 25 Nov 2001 00:02:05 +0000
(
00:02
+0000)
Eval and set the variable simply.
lisp/mail/supercite.el
patch
|
blob
|
history
diff --git
a/lisp/mail/supercite.el
b/lisp/mail/supercite.el
index db4a492de1d95d2a7c183b458fe6eda0141fd2a6..e1bac745bfce9c1372b3d77621906ec2a05d3518 100644
(file)
--- a/
lisp/mail/supercite.el
+++ b/
lisp/mail/supercite.el
@@
-1870,7
+1870,7
@@
VARIABLE must be a bound symbol. Nil values change to t, non-nil
values are changed to nil."
(message "%s changed from %s to %s"
variable (symbol-value variable)
- (set
-variable variable (not (eval-expression
variable))))
+ (set
variable (not (symbol-value
variable))))
(sc-set-mode-string))
(defun sc-set-variable (var)